package cn.tedu.antconlonysever.contract.service;

import cn.tedu.antcolonycommons.pojo.vo.PageData;
import cn.tedu.antconlonysever.contract.pojo.param.OrderAddNewParam;
import cn.tedu.antconlonysever.contract.pojo.param.OrderUpdateParam;
import cn.tedu.antconlonysever.contract.pojo.vo.OrderListVO;
import cn.tedu.antconlonysever.contract.pojo.vo.OrderStandardVO;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface IOrderService {
    void addNew(OrderAddNewParam orderAddNewParam);
    void delete(Long id);
    void updateInfoById(Long id, OrderUpdateParam orderUpdateParam);
    OrderStandardVO getStandardById(long id);
    PageData<OrderListVO> list(Integer pageNum);
    PageData<OrderListVO> list(Integer pageNum,Integer pageSize);

}
